<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;

class VideoFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'title'=>$this->faker->jobTitle(),
            'type'=>rand(0,1),
            'description'=>$this->faker->paragraphs(3,true),
            'begin'=>$this->faker->dateTimeBetween('now', '2024-01-01', 'PRC'),
            'end'=>$this->faker->dateTimeBetween('2024-01-01', '2025-01-01', 'PRC'),
        ];
    }
}
